package com.huatai.datacenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Lion
 * @date 2023/4/18  9:03
 */
@Data
@TableName(value = "tb_api_config")
public class ApiEntity extends BaseEntity{

	@TableField("path")
	@ApiModelProperty("路径")
	private String path;

	@TableField("apiName")
	@ApiModelProperty("api名称")
	private String apiName;

	@TableField("sqlData")
	@ApiModelProperty("sql")
	private String sqlData;

	@TableField("datasourceId")
	@ApiModelProperty("数据源id")
	private String datasourceId;

	@TableField("modelId")
	@ApiModelProperty("模型id")
	private String modelId;

	@TableField("modelName")
	@ApiModelProperty("模型名称")
	private String modelName;

	@TableField("desensitizationId")
	@ApiModelProperty("脱敏脱敏规则id")
	private String desensitizationId;

	@TableField("desensitizationName")
	@ApiModelProperty("脱敏脱敏规则名称")
	private String desensitizationName;

	@TableField("params")
	@ApiModelProperty("参数")
	private String params;

	@TableField("objectId")
	@ApiModelProperty("服务对象id")
	private String objectId;

	@TableField("appKey")
	@ApiModelProperty("对象携带的appKey")
	private String appKey;

	@TableField("apiType")
	@ApiModelProperty("api类型")
	private String apiType;

	@TableField("fireAddress")
	@ApiModelProperty("文档地址")
	private String fireAddress;

}
